import {_delete, get, post} from './http'
//获取历史聊天信息
export const getHistoryChats = p => get('/dbw/list', p);
export const getPeopleList = p => get("/bdyh", p);
//获取聊天列表
export const getChatList = p => get("/dbw", p);
//发送短报文
export const sendMessage = p => post('/dbw/send', p);
//查询单条任务信息
export const getSingleTaskMes = p => get('/rw', p);
//新增任务
export const addNewTask = p=>post('/rw',p)
//删除单条任务
export const deleteTask = p => _delete('/rw', p);
//根据bdid查询高分数据列表
export const getGaofenData = p => get('/gfsj/BDID', p);
//根据id删除高分数据条目
export const deleteGaofenItem = p => _delete('/gfsj', p);
//新增高分数据
export const addGaofenItem = p => post('/gfsj', p);
//查询单条高分数据信息
export const getSingleGaofenMes = async (p) => await get('/gfsj', p)
//查询用户信息
export const getPeoMes = p=>get('/bdyh',p);


